package com.wx.auth.servlet;

import com.wx.auth.util.AuthUtil;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by sanmao on 2017/6/10.
 */
public class LoginSerclet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        String backUrl="";
        String url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + AuthUtil.APPID+
                "&redirect_uri=REDIRECT_URI" +
                "&response_type=" +
                "code&scope=SCOPE" +
                "&state=STATE#wechat_redirect";
        super.doGet(req, resp);
    }
}
